package com.yzb.test

import com.yzb.config.FtpConfig
import com.yzb.helper.FtpClientHelper
import org.junit.After
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringRunner

/**
 * <br/>
 * @auther huang yu zhi
 * @version 1.0.0
 * @date 2019-01-24 15:42
 */
@RunWith(SpringRunner)
@SpringBootTest
class Test1 {
    @Autowired
    private FtpConfig ftpConfig

    @Before
    void setUp() throws Exception {
    }

    @After
    void tearDown() throws Exception {
    }

    @Test
    void test1() throws Exception {
        println(this.ftpConfig)
        println(FtpClientHelper.build())
    }
}
